package com.information.manage.basic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.information.manage.basic.model.entity.DictionaryInfoDO;
import com.information.manage.basic.model.vo.DictionaryInfoListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DictionaryInfoMapper extends BaseMapper<DictionaryInfoDO> {

    /**
     * 根据字典类型id查询字典项
     * @param categoryId 字典类型id
     * @return
     */
    List<DictionaryInfoListVO> queryListByCategoryId(Integer categoryId);

}
